package com.xsir.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author xsir
 * @date 2020/9/4
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String account;
    private String password;
    private String username;
    private String email;
    private String avatar;
    private String classroom;
    private String motto;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
